<cfquery name="getart" datasource="cfartgallery">
select	*
from 	art
</cfquery>
<cfdump var="#getart#" expand="false" label="artid,artname,description">

<cfparam name="form.search" default="">

<cfoutput>
<form action="#cgi.script_name#" method="post">
<input type="text" name="search" value="#htmlEditFormat(form.search)#">
<input type="submit" value="Search">
</form>
</cfoutput>

<cfif len(trim(form.search))>

	<cf_search index="querytest" term="#form.search#" field="artname">
	<cfdump var="#result#" label="artname">
	
	<cf_search index="querytest" term="#form.search#" field="description">
	<cfdump var="#result#" label="description">
	
</cfif>